package com.dm.dao;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dm.model.Users;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@DS(value = "db02")
@Mapper
public interface MapperDB02 extends BaseMapper<Users> {
    @Select("SELECT * FROM users")
    List<Users> getAllUser();
}